<template>
  <div :style="{height: height === 'auto' ? '200px' : height + 'px'}" style="width:230px;">
    <div class="wrap" style="width: 100%;
    position: relative;
    display: table;">
      <div class="left" style="position: absolute;
    height: 100%;
    width: 50%;">
        <div class="left-bar" style="width: 2px;
    height: 60%;
    background-color: #00704E;"></div>
        <div class="left-title" style="position: absolute;
    top: 0;
    left: 10px;
    color: #fff;font-size:14px;">每日保障时段</div>
      </div>
      <div class="right" style="margin-top: 30px;
    margin-left: 10px;
    color: #00704E;
    width: 100%;
    display: flex;
    justify-content: flex-start;white-space:nowrap;">
        <div class="timeperoid" style="margin-right: 10px;">
          <div class="time" style="font-size: 12px;">08:00-10:00</div>
          <div class="level" style="margin-top: 4px;
    margin-bottom: 5px;
    font-size: 12px;transform:scale(0.83);transform-origin:left;">特级保障</div>
          <div class="bar" style="width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: #00704E;"></div>
        </div>
        <div class="timeperoid" style="margin-right: 10px;">
          <div class="time" style="font-size: 12px;">10:00-22:00</div>
          <div class="level" style="margin-top: 4px;
    margin-bottom: 5px;
    font-size: 12px;transform:scale(0.83);transform-origin:left;">一级保障</div>
          <div class="bar" style="width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: #00704E;"></div>
        </div>
        <div class="timeperoid current_time" style="color: #fff;">
          <div class="time" style="font-size: 12px;">22:00-08:00</div>
          <div class="level" style="margin-top: 4px;
    margin-bottom: 5px;
    font-size: 12px;transform:scale(0.83);transform-origin:left;">二级保障</div>
          <div class="bar current_time_bar" style="width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: #00CC84;"></div>
        </div>
        <div class="gradient" style="width: 95%;
    height: 37px;
    background: linear-gradient(90deg, rgba(0, 204, 132, 0.39) 62%, rgba(0, 204, 132, 0) 100%);
    opacity: .8;
    position: absolute;
    bottom: -40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.301);
    display: flex;
    justify-content: center;
    align-items: center;">
          <img class="img" style="
          width: 14px;
    height: 21px;" src="../assets/7.png"/>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style>/*
.wrap {
    width: 100%;
    position: relative;
    display: table;
}
.left {
    position: absolute;
    height: 100%;
    width: 50%;
}
.left-bar {
    width: 2px;
    height: 60%;
    background-color: #00704E;
}
.left-title {
    position: absolute;
    top: 0;
    left: 10px;
    color: #fff;
}
.right {
    margin-top: 30px;
    margin-left: 10px;
    color: #00704E;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
.right .timeperoid{
    margin-right: 16px;
}
.time{
    font-size: 15px;
}
.level {
    margin-top: 8px;
    margin-bottom: 5px;
    font-size: 12px;
}
.bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: #00704E;
}
.gradient{
    width: 92%;
    height: 37px;
    background: linear-gradient(90deg, rgba(0, 204, 132, 0.39) 62%, rgba(0, 204, 132, 0) 100%);
    opacity: .8;
    position: absolute;
    bottom: -37px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.301);
    display: flex;
    justify-content: center;
    align-items: center;
}
.gradient .img{
    width: 14px;
    height: 21px;
}
.current_time{
    color: #fff;
}
.current_time_bar{
    background-color: #00CC84;
}
*/
</style>